package com.sukaiyi.giteejavaapi.http;

import com.sukaiyi.giteejavaapi.http.model.HttpRequest;
import com.sukaiyi.giteejavaapi.http.model.HttpResponse;

import java.io.IOException;

public interface HttpEventCallback {

    void failure(HttpRequest request, IOException e);

    void success(HttpRequest request, HttpResponse response);


}
